ballistic pendulum conservation of momentum